//
//  CleanCacheControl.m
//  FreeTime
//
//  Created by ti on 16/8/30.
//  Copyright © 2016年 SRDZ.com. All rights reserved.
//

#import "CleanCacheControl.h"
#import "Header.h"
@interface CleanCacheControl ()

@end

@implementation CleanCacheControl

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupNav];
    [self setupUI];
}

- (void)setupUI {
    self.navigationItem.title = @"清理缓存";
    
    UIButton *titleBt = [UIButton buttonWithType:UIButtonTypeCustom];
    titleBt.frame = CGRectMake(10, 17, 100, 24);
    [titleBt addTarget:self action:@selector(Clean) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:titleBt];
    
    UILabel *titleL = [ReduceCode creatLabelWithFrame:CGRectMake(0, 5, 100, 14) title:@"清理缓存" titleColor:[ImageUtil colorWithRgb:0xFF596E] font:14 textAlignment:NSTextAlignmentLeft];
    [titleBt addSubview:titleL];
    
    UILabel *numberL = [ReduceCode creatLabelWithFrame:CGRectMake(WindowWidth-100, 25, 90, 11) title:@"71.8M" titleColor:[ImageUtil colorWithRgb:0x999999] font:11 textAlignment:NSTextAlignmentRight];
    [self.view addSubview:numberL];
    [ToolUtil createLine:54 superView:self.view lift:10 width:WindowWidth-20 hight:1 color:[ImageUtil colorWithRgb:0xEBEBEB]];
    
}


- (void)Clean {
    
}












@end
